Discovering object definition information in an integrated application environment

ABSTRACT

Provided is a method, system, and program for providing an object discovery agent (ODA) client. There is one object discovery agent (ODA) client and at least one ODA, wherein each ODA is associated with one application and includes: (i) application programming interfaces (APIs) to communicate with the associated application to discover definition information on objects maintained by the application and (ii) code to communicate with the ODA client. The ODA client communicates with one of the at least one ODA to cause the ODA to gather definition information on at least one object used by one application. The gathered object definition information is provided to an integration server to integrate the object in an environment including heterogeneous objects from different applications.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 13/556,192, filed on Jul. 23, 2012, which is a continuation of U.S. Pat. No. 8,302,107, which issued on Oct. 30, 2012, which is a continuation of U.S. Pat. No. 7,406,474, which issued on Jul. 29, 2008, which patents and patent applications are incorporated herein by reference in their entirety.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to discovering object definition information in an integrated application environment.

2. Description of the Related Art

In an integrated application environment, an integration server enables data to be integrated among heterogeneous applications and the data objects used by the heterogeneous applications. The integration server maintains a mapping for each application specific business object maintained in the integrated application environment that defines how the data in an application specific business object maps to a generic business object. In this way, data may be integrated among heterogeneous applications by transforming data from a source application specific business object to a generic business object and then from the generic business object to a target application specific business object. In this way data generated and maintained by a source application may be integrated with a target application.

Before the mapping can be generated, the user or developer of the integrated application environment needs to determine the definition and format of the business objects and then provide that definition to the integration server to generate the mappings.

SUMMARY

Provided is a method, system, and program for providing an object discovery agent (ODA) client. There is one object discovery agent (ODA) client and at least one ODA, wherein each ODA is associated with one application and includes: (i) application programming interfaces (APIs) to communicate with the associated application to discover definition information on objects maintained by the application and (ii) code to communicate with the ODA client. The ODA client communicates with one of the at least one ODA to cause the ODA to gather definition information on at least one object used by one application. The gathered object definition information is provided to an integration server to integrate the object in an environment including heterogeneous objects from different applications.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an integrated application environment.

FIG. 2 illustrates an embodiment of an object discover agent (ODA) client and ODA.

FIG. 3 illustrates operations to provide integration tools to enable the developer to create and deploy the ODA client and ODAs to gather object definition information.

FIGS. 4, 5, and 6 illustrate embodiments of operations to discover and gather object definition information.

DETAILED DESCRIPTION

In the following description, reference is made to the accompanying drawings which form a part hereof and which illustrate several embodiments of the present invention. It is understood that other embodiments may be utilized and structural and operational changes may be made without departing from the scope of the present invention.

FIG. 1 illustrates an integrated application environment comprising an integrated server 2 and client systems 4 a, 4 b that connect over a network 6. The client systems 4 a, 4 b include heterogeneous applications 8 a, 8 b, where each heterogeneous application 8 a, 8 b uses one or more objects 10 a, 10 b that contain data used by the application. The objects 10 a, 10 b comprise application specific formats that may differ for different, heterogeneous applications 8 a, 8 b. For instance, the clients 4 a, 4 b may comprise different organizations that use different applications 8 a, 8 b for the same purpose, such as database applications or other business applications from different vendors. For database applications, the objects 10 a, 10 b may comprise the database tables or tablespaces used to store the data managed by the applications 8 a, 8 b. The integration server 2 provides services to integrate the data from the heterogeneous applications 8 a, 8 b and their application specific objects 10 a, 10 b, e.g., to allow data integration among database applications from different vendors. Although only one application 8 a, 8 b is shown in each client 4 a, 4 b, there may be multiple applications in each client, further there may be more than two clients. The clients may represent client systems, a network of systems or computational environments of disparate organizations that seek to integrate data through the integration server 2.

The integration server 2 maintains object mappings 12, which provides information to enable the integration server 2 to map the content of one application specific object 10 a, 10 b to a generic object and then map the content of the generic object to another application specific object 10 a, 10 b. In this way, information produced by the heterogeneous applications 8 a, 8 b stored in their heterogeneous objects 10 a, 10 b may be integrated. Integration tools 14 comprises development tools that the user would utilize to create the object mappings 12 and other complex artifacts the integration server 2 requires to provide enterprise application integration (EAI).

The user maintaining the integration server 2 may deploy an object discovery agent (ODA) client 16 and ODA 18 a, 18 b components that are used to collect definition information on the objects 10 a, 10 b. The integration server 2 uses this object definition information to generate the object mappings 12. The ODA client 16 may generate an ODA client graphical user interface (GUI) 20 that enables a user to control the ODA client 16 to interact with ODAs 18 a, 18 b to control how object definition information is gathered. For instance, the ODA client GUI 20 may enable the user to review objects 10 a, 10 b available at the applications 8 a, 8 b and select those objects 10 a, 10 b for which definition information is gathered to enable selective definition information gathering. In one embodiment, the ODA client 16 may be deployed at the integration server 2 and a separate ODA 18 a, 18 b is deployed for each application 8 a, 8 b in the system including the application 8 a, 8 b.

FIG. 2 illustrates an embodiment of the ODA client 16 and ODA 18 a, 18 b components. The ODA client 16 includes ODA discover application programming interfaces (APIs) 30 that enable the ODA client 16 to connect to any implemented ODA 18 a, 18 b in the network 6 in a standard way. The content interfaces handlers 32 enable the ODA client 16 to access and process definition information from a particular application specific ODA 18 a, 18 b. There are multiple content interface handlers 32 if the definition information may be provided in different content types, e.g., Extensible Markup Language (XML), a text file, etc. Client access APIs 34 enable the ODA client 16 to communicate with each ODA 18 a, 18 b and the client callback interface 36 enables the ODA client 16 to respond to requests from the ODAs 18 a, 18 b and receive business definition information returned automatically by the ODA 18 a, 18 b as callback content. The ODA client 16 uses the client access APIs to access different ODAs 18 a, 18 b for different applications 8 a, 8 b. A communication protocol 38 enables the ODA client 16 to communicate with the ODAs 18 a, 18 b over the network 6 or within a single system if the ODA client 16 and ODA 18 a are on a same platform.

The ODAs 18 a, 18 b include a communication protocol 40 layer that enables the ODAs 18 a, 18 b to communicate with the ODA client 16 over the network 6 or within a single system if the ODA client 16 and ODA 18 a are on a same platform. ODA interfaces 42 comprise the methods and services that the ODA client 16 may invoke on the ODAs 18 a, 18 b via the client access APIs 34. The ODA Client Access APIs 44 comprise the APIs the ODAs 18 a, 18 b call to invoke operations and services on the ODA client 16. The ODA object APIs 46 comprise the APIs the ODAs 18 a, 18 b call to interface and communicate with the application 8 a, 8 b associated with the ODAs 18 a, 18 b and extract information on the objects 10 a, 10 b used by the application 8 a, 8 b. The content interfaces 48 provide the methods and interfaces to enable the ODAs 18 a, 18 b to package accessed object definition information in different content types, such as an XML file, text file, etc. The ODA object APIs 46 and content interfaces 48 are APIs written by the users to connect to specific applications 8 a, 8 b.

FIG. 3 illustrates how a user of an integrated application environment may use the integration tools 14 to deploy the ODA client 16 and ODAs 18 a, 18 b to enable the integration of the applications at the integration server 2. The developer accesses (at block 100) application integration tools including an ODA client 16 and a set of ODAs 18 a, 18 b that are deployed to gather the object definition information used by the integration server 2 to create mappings 12 for application objects to allow the integration of data from heterogeneous objects 10 a, 10 b and applications 8 a, 8 b in the integrated application environment. Each ODA 18 a, 18 b provided in the integration tools 14 associated with one application includes: (i) application programming interfaces (APIs), e.g., ODA object APIs 46, to communicate with the associated application 8 a, 8 b to discover definition information on objects 10 a, 10 b maintained by the application 8 a, 8 b and (ii) code to communicate with the ODA client 16. The ODAs 18 a, 18 b provided with the integration tools 14 may comprise ODAs 18 a, 18 b provided by the vendor of the integration tools 14 for commonly used applications that the user may deploy to use immediately. The integration tools 14 may further include (at block 104) a toolkit to enable the user to create an ODA for a specific application. The toolkit includes certain infrastructure components the user incorporates into ODAs they develop to enable communication in a standard format with the ODA client 16, such as the ODA client access APIs 44, that the user includes in an ODA the user develops to discover object definition information from a specific application. The ODA client 16 includes APIs and interfaces to connect in a manner known in the art to any ODA 18 a, 18 b the user creates using the toolkit, which is part of the integration tools 14. The user creates interfaces, such as the ODA object APIs 46 and content interfaces 48, and packages them with certain of the ODA generic functions provided with the toolkit, such as the ODA client access APIs 44, ODA interface 42, and communication protocol 40 to create an ODA 18 a, 18 b. The user created ODA may then gather definition information for objects from the specific application. Further, for user created ODAs 18 a, 18 b, the user further codes the content interfaces 32 for the ODA client 16 to enable the ODA client 16 to access definition information in different content type formats. The provided ODA client 16 may then drive the discovery process with any ODAs the user creates using the interfaces and APIs for client ODA 16 communication provided in the toolkit.

FIGS. 4 and 5 illustrate operations performed by the ODA client 16 and ODAs 18 a, 18 b to discover and gather object 10 a, 10 b definition information to provide to the integration server 12 to use to generate the object mappings 12. The user deploys (at block 200) the ODA client 16 and ODAs 18 a, 18 b within an integrated application environment including an integration server 2. The ODA client 16 discovers (at block 202) at least one ODA 18 a, 18 b in the network 6 environment. The ODA client 16 may present (at block 204) to the user creating the integrated application environment the ODA client GUI 20 to enable the user to select one discovered ODA 18 a, 18 b. The ODA client 16 then automatically communicates with the user selected ODA 18 a, 18 b. The ODA client 16 requests (at block 205) from the ODA 18 a, 18 b information on supported object content types and the transfer protocol—either callback or on-request—associated with each content type by the ODA. The ODA client 16 requests (at block 206) from the selected ODA 18 a, 18 b connection parameters that control how the ODA 18 a, 18 b connects to the associated application 8 a, 8 b. The ODAs 18 a, 18 b returns (at block 208) to the ODA client 16 the requested connection parameters. The ODA client 16 presents (at block 210) the GUI 20 to enable the user to enter the parameter values for the returned connection parameters the ODA 18 a, 18 b uses to connect to the associated application 8 a, 8 b. The ODA client 16 then communicates (at block 212) to the selected ODA 18 a, 18 b the user entered values for the returned connection parameters. The ODA 18 a, 18 b can specify information the user of the ODA client 16 must provide for the connection parameter, such as the name and primitive data type, whether the value is hidden or a password, if there are multiple values, a restricted list of possible values the user must select, a default value for the parameter, or a human readable description that explains the property and what input is required from the user. The ODA client 16 uses this information from the ODAs 18 a, 18 b to construct input collection and validation results to present to the user via the ODA client GUI 20 in a manner known in the art. The ODA 18 a, 18 b connects (at block 214) to the corresponding application 8 a, 8 b using the received parameter values and determines objects 10 a, 10 b the application 8 a, 8 b uses. The ODA 18 a, 18 b generates (at block 216) a top level list of determined objects 10 a, 10 b as tree nodes, including information on the objects 10 a, 10 b and sends the list to the ODA client 20. The ODA client 16 presents (at block 218) the GUI 20 to enable the user to select one or more of the objects in the list or request a further level list exposing child node objects of the object in the list. Each object node displayed in the GUI 10 may identify the following attributes: object name; object description; information on whether the object represented by node corresponds to an application object definition from which an integration broker application-specific business object can be created (is a generable node), or, is not a generable node; information on whether the represented object has a hierarchy of similar-in-nature child nodes and information on whether those child nodes can be provided by the ODA 18 a, 18 b in bulk or that the ODA enables the ODA client to search only for child nodes that satisfy a certain criteria only. The user of the ODA client GUI 20 may expand the hierarchy of object nodes multiple times to expose all nodes representing application objects of interest. Then, the user selects all objects of interest and instructs the ODA to generate application-specific business objects.

If (at block 220) the user selects to receive information on further child object nodes of selected objects 8 a, 8 b, then the ODA client 16 sends (at block 222) to the ODA 18 as, 18 b a request for information on child object nodes of the selected listed object node. In response, the ODA 18 a, 18 b generates (at block 224) information on the selected child nodes and returns to the ODA client. The ODA client 16 generates (at block 226) the GUI 20 displaying the previous objects from previous levels and the selected child node objects in a hierarchical tree structure in the GUI 20. Control returns to block 220 to wait for further user action. When the user selects to receive definition information for selected objects from the hierarchical list of object nodes, control proceeds to block 230 in FIG. 5 to communicate to the ODA 18 a, 18 b selection of at least one of the objects 8 a, 8 b used by the associated application. At this point, the ODA client 16 requests (at block 232) the ODA 18 a, 18 b to generate application specific object definitions provided by the ODA 18 a, 18 b in all the callback and on-request content types they support.

For the content types transferred via the call back method, the ODA client 16 asynchronously waits for the ODA 18 a, 18 b to return definition information in the different content types (e.g., an XML file, flat file, etc.). If (at block 234) the ODA client 16 provides object content on a callback, then the ODA client 16 asynchronously requests (at block 236) the ODA 18 a, 18 b to generate (as described at blocks 246-256) the callback content. Otherwise, if the object definition information is provided by the ODA using the “on-request” transfer method, i.e., synchronously (from the no branch of block 234), then the ODA client 16 synchronously requests (at block 238), for each on-request content, the ODA 18 a, 18 b to generate (as described in blocks 246-256) the content and return the size and count of the object definition information. The ODA client 16 selects (at block 240) an order of retrieving object definition information and then retrieves (at block 242) the on-request object definition information in the selected order.

From block 236 or 242, the ODA generates (at block 246) the definition information for the selected objects 10 a, 10 b by communicating with the application 8 a, 8 b. With respect to FIG. 5, if (at block 250) the ODA 18 a, 18 b needs additional parameter value information to generate the definition information for the selected objects 10 a, 10 b, then the ODA 18 a, 18 b requests (at block 252) additional parameters (via the client callback interface 36) from the ODA client 16. The ODA client 16 obtains (at block 254) the requested parameter values from the user via the GUI 20 and returns to the parameter values to the ODA 18 a, 18 b to use to gather the definition information for the objects from the application 8 a, 8 b.

From block 248 or the no branch of 244, the ODA 18 a, 18 b returns (at block 256) to the ODA client 16 definition information for the at least one selected object 10 a, 10 b and additional object definition information generated in response to any configuration information from the ODA client. If the ODA client 16 had requested in the on-request transfer method an order to return object definition information in different content types, then the ODA 18 a, 18 b returns the definition information in the content types in the requested order. Both the definition information and additional definition information may be in the format of the selected content type.

Upon receiving (at block 258) all the object definition information, the ODA client 16 provides the gathered object definition information to the integration server 2 to integrate the object in an environment including heterogeneous objects from different applications. The integration server 2 may generate (at block 260) object mappings 12 from the object definition information for objects 10 a, 10 b used by the applications 8 a, 8 b, where each mapping provides an association of information in one application object to a generic object. The object mappings 12 are used to transform information from one source application object to the generic object and then from the generic object to one target application object.

Described embodiments provide techniques to enable a user of an integrated application environment to discover definition information for heterogeneous objects in the environment to enable the integration of information between heterogeneous objects and applications.

Additional Embodiment Details

The described operations may be implemented as a method, apparatus or article of manufacture using standard programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof. The term “article of manufacture” as used herein refers to code or logic implemented in hardware logic (e.g., an integrated circuit chip, Programmable Gate Array (PGA), Application Specific Integrated Circuit (ASIC), etc.) or a computer readable medium, such as magnetic storage medium (e.g., hard disk drives, floppy disks, tape, etc.), optical storage (CD-ROMs, optical disks, etc.), volatile and non-volatile memory devices (e.g., EEPROMs, ROMs, PROMs, RAMs, DRAMs, SRAMs, firmware, programmable logic, etc.). Code in the computer readable medium is accessed and executed by a processor. The code in which preferred embodiments are implemented may further be accessible through a transmission media or from a file server over a network. In such cases, the article of manufacture in which the code is implemented may comprise a transmission media, such as a network transmission line, wireless transmission media, signals propagating through space, radio waves, infrared signals, etc. Thus, the “article of manufacture” may comprise the medium in which the code is embodied. Additionally, the “article of manufacture” may comprise a combination of hardware and software components in which the code is embodied, processed, and executed. Of course, those skilled in the art will recognize that many modifications may be made to this configuration without departing from the scope of the present invention, and that the article of manufacture may comprise any information bearing medium known in the art.

The illustrated operations of FIGS. 3, 4, 5, and 6 show certain events occurring in a certain order. In alternative embodiments, certain operations may be performed in a different order, modified or removed. Moreover, steps may be added to the above described logic and still conform to the described embodiments. Further, operations described herein may occur sequentially or certain operations may be processed in parallel. Yet further, operations may be performed by a single processing unit or by distributed processing units.

The foregoing description of various embodiments of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not by this detailed description, but rather by the claims appended hereto. The above specification, examples and data provide a complete description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended. 

What is claimed is:
 1. A method of discovering object definition information in an integrated application environment, comprising: providing an object discovery agent (ODA) client; providing a plurality of ODAs, wherein each ODA is associated with one application and includes: application programming interfaces (APIs) to communicate with the associated application to discover definition information on objects maintained by the application; and code to communicate, with the ODA client, information on objects used by the associated application; communicating, by the ODA client, to each ODA of the ODAs, selection of at least one object used by the application associated with the ODA to which the ODA client is communicating; and returning to the ODA client, by each ODA of the ODAs to which the ODA client is communicating, definition information for the at least one selected object; and providing gathered object definition information to an integration server to integrate the objects in an environment including heterogeneous objects from applications associated with the ODAs, wherein the integration server uses the object definition information to transform a source application object with the integration server for which definition information is gathered to a generic object and from the generic object to a target application object.
 2. The method of claim 1, further comprising: discovering, by the ODA client, the ODAs in a network computing environment; and presenting, by the ODA client, a user interface enabling a user to select one discovered ODA of the ODAs, wherein the ODA client communicates with the user selected ODA.
 3. The method of claim 1, wherein communicating, by the ODA client, with one ODA further comprises: requesting from the ODA, by the ODA client, connection parameters that control how the ODA connects to the associated application; returning to the ODA client, by the ODA, the requested connection parameters; and communicating to the ODA, by the ODA client, values for the returned connection parameters for the ODA to use to connect to the associated application.
 4. The method of claim 1, wherein the returned definition information for the at least one selected object comprises a top level list of objects, further comprising: requesting from the ODA, by the ODA client, information on child objects for the objects in the top level list; returning to the ODA client, by the ODA, information on child objects of at least one object indicated in the top level list; and determining, by the ODA client, whether to perform one of: (i) requesting from the ODA information on child objects of objects for which information has been returned or (ii) requesting from the ODA definition information for a selected at least one object for which information was provided to provide to the integration server.
 5. The method of claim 4, further comprising: presenting, by the ODA client, a user interface enabling a user to control the ODA client to request information on child objects of presented objects or to request the definition information for the selected at least one object for the selected at least one object to return to the integration server.
 6. The method of claim 1, wherein communicating, by the ODA client, with one ODA further comprises: communicating to the ODA client, by the ODA, information on objects used by the associated application; communicating to the ODA, by the ODA client, selection of one of the objects used by the associated application and configuration information for the ODA to use to generate additional object definition information; and returning to the ODA client, by the ODA, definition information for the selected object including the additional object definition information generated in response to the configuration information from the ODA client.
 7. The method of claim 1, further comprising: generating mappings, by the integration server, from the object definition information for objects used by the applications, wherein each mapping provides an association of information in one application object to a generic object, and wherein the mappings are used to transform information from one source application object to the generic object and then from the generic object to one target application object.
 8. A computing environment having a network for discovering object definition information in an integrated application environment, the computing environment comprising: an integration server including an object discovery agent (ODA) client; a plurality of client systems, each client system having an application and an ODA associated with the application, wherein the ODA includes: application programming interfaces (APIs) to communicate with the associated application to discover definition information on objects maintained by the application and code to communicate, with the ODA client, information on objects used by the associated application; wherein the ODA client and ODAs comprise code that causes operations to be performed, the operations comprising: communicating to each ODA of the ODAs, by the ODA client, selection of at least one object used by the application associated with the ODA to which the ODA client is communicating; and returning to the ODA client, by the ODAs to which the ODA client is communicating, definition information for the at least one selected object; and providing, by the ODA client, gathered object definition information to the integration server to integrate the object in an environment including heterogeneous objects from applications associated with the ODAs at the client systems, wherein the integration server uses the object definition information to transform a source application object for which the object definition information is gathered to a generic object and from the generic object to a target application object.
 9. The computing environment of claim 8, wherein the operations caused by the ODA client and ODA code further comprise: discovering, the ODAs in a network computing environment; and presenting a user interface enabling a user to select one discovered ODA of the ODAs, wherein the ODA client communicates with the user selected ODA.
 10. The computing environment of claim 8, wherein the operations caused by the ODA client and ODA code further comprise: requesting from the ODA, by the ODA client, connection parameters that control how the ODA connects to the associated application; returning to the ODA client, by the ODA, the requested connection parameters; and communicating to the ODA, by the ODA client, values for the returned connection parameters for the ODA to use to connect to the associated application.
 11. The computing environment of claim 8, the operations comprising: generating mappings from the object definition information for objects used by the applications, wherein each mapping provides an association of information in one application object to a generic object, and wherein the mappings are used to transform information from one source application object to the generic object and then from the generic object to one target application object.
 12. An article of manufacture comprising a computer readable storage medium having code for discovering object definition information and executed to communicate with an integration server and at least one computer system, including: an object discovery agent (ODA) client; ODAs, wherein each ODA is associated with one application and includes: application programming interfaces (APIs) to communicate with the associated application to discover definition information on objects maintained by the application; and code to communicate, with the ODA client, information on objects used by the associated application; wherein the ODA client and the ODAs include code executed by the at least one computer system to perform operations, the operations comprising: communicating to each ODA of the ODAs, by the ODA client, selection of at least one object used by the application associated with the ODA to which the ODA client is communicating; and returning to the ODA client, by the ODAs to which the ODA client is communicating, definition information for the at least one selected object; and providing gathered object definition information to an integration server to integrate the object in an environment including heterogeneous objects from the applications, wherein the integration server uses the object definition information to transform a source application object for which the object definition information is gathered to a generic object and from the generic object to a target application object.
 13. The article of manufacture of claim 12, wherein the code for the ODA client and the ODAs is executed by the at least one computer system to perform operations further comprising: discovering, by the ODA client, the ODAs in a network computing environment; and presenting, by the ODA client, a user interface enabling a user to select one discovered ODA of the ODAs, wherein the ODA client communicates with the user selected ODA.
 14. The article of manufacture of claim 12, wherein communicating, by the ODA client, with one ODA further comprises: requesting from the ODA, by the ODA client, connection parameters that control how the ODA connects to the associated application; returning to the ODA client, by the ODA, the requested connection parameters; and communicating to the ODA, by the ODA client, values for the returned connection parameters for the ODA to use to connect to the associated application.
 15. The article of manufacture of claim 12, wherein communicating, by the ODA client, with one ODA further comprises: communicating to the ODA client, by the ODA, information on objects used by the associated application; communicating to the ODA, by the ODA client, selection of one of the objects used by the associated application and configuration information for the ODA to use to generate additional object definition information; and returning to the ODA client, by the ODA, definition information for the selected object including the additional object definition information generated in response to the configuration information from the ODA client.
 16. The article of manufacture of claim 12, wherein the code for the ODA client and the ODAs is executed by the at least one computer system to perform operations further comprising: generating mappings, by the integration server, from the object definition information for objects used by the applications, wherein each mapping provides an association of information in one application object to a generic object, and wherein the mappings are used to transform information from one source application object to the generic object and then from the generic object to one target application object. 